<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="renderer" content="webkit" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>品牌详情</title>
  <link rel="stylesheet" href="../../lib/css/reset.min.css">
  <link rel="stylesheet" href="../../css/all.min.css">
</head>
<body>
  <div class="app-wrap" v-cloak id="brand_details">
    <header-top></header-top>
    <header-search-global type="首页"></header-search-global>
    <common-top-nav></common-top-nav>
    <div class="bg-gray">
      <div class="container userCenter clear">
        <leftnav></leftnav>
        <div class="user-content">
          <ul class="tabs tabs-enterPrise">
            <li class="li-tab" v-for="(item,index) in brand_details" @click="toggleTabs(index)" :class="{active:index!=nowIndex}">
              <span :class="{borderRight_none:index == 0}">{{item}}</span>
            </li>
          </ul>
 
          <div class="divTab enterPrise-tab groupTabs" v-show="nowIndex===0">
            <div class="tab-list">
              <div class="left">企业名称：</div>
              <div class="right">{{brand.companyName}}</div>
            </div>
            <div class="tab-list">
              <div class="left">品牌名称：</div>
              <div class="right">{{brand.brandName}}</div>
            </div>
            <div class="tab-list">
              <div class="left">成立时间：</div>
              <div class="right">{{brand.foundingTime}}</div>
            </div>
            <div class="tab-list">
              <div class="left">品牌Logo：</div>
                <div class="right">
                  <div class="logo">
                    <img :src="brand.logo" alt="">
                  </div>
                  <span>查看</span>
                </div>
            </div>
            <div class="tab-list" style="margin-top: 20px;">
              <div class="left">品牌证书电子版：</div>
                <div class="right">
                  <div class="logo">
                    <img v-for="item in attachments" :src="item.fileUrl" alt="">
                  </div>
                  <span>查看</span>
                </div>
            </div>
            <div class="tab-list">
              <div class="left">联系人：</div>
              <div class="right">{{brand.linkMan}}</div>
            </div>
            <div class="tab-list">
              <div class="left">联系方式：</div>
              <div class="right">{{brand.mobile}}</div>
            </div>
            <div class="tab-list">
              <div class="left">品牌入驻申请时间：</div>
              <div class="right">{{brand.createTime}}</div>
              
            </div>
            <div class="tab-list">
              <div class="left">品牌入驻状态：</div>
              <div class="right">{{brand.status==0?'待审核':''}}{{brand.status==1?'审核通过':''}}{{brand.status==2?'拒绝':''}}</div>
            </div>
              <div class="tab-list">
               <button class="BackToList" @click="goList" type="button"><i class="icon-back-white"></i>返回品牌列表</button>
              </div>
          </div>
        </div>
      </div>
    </div>
    <common-footer></common-footer>
  </div>
  <script src="../../lib/js/vue.js"></script>
  <script src="../../lib/js/axios.min.js"></script>
  <!-- mock 数据 打包发布的时候记得移除 -->
  <script src="../../lib/js/mock.js"></script>
  <script src="../../js/all.min.js"></script>
  <script>
    brand_details();
  </script>
</body>

</html>